*{margin: 0; padding: 0;}

#wrapper {
    width: 800px;
    margin: 18px -20 0 0px;

}

/* cho phep vao cap con */
#nav, #nav ul {
    position: relative;
    list-style:  none;
    line-height: 1.5em;
}
#nav
{
	margin-left:18%;
}
#nav a:link, #nav a:active,
#nav a:visited {
    color:#FFFF33;
	text-decoration:none;
	display:block;
	background:#4272C4;
	padding:0 3px;
}

#nav a:hover {
    background:#D8E3F5;
    color:red;
}
/*  dinh dang cho menu na*/
#nav li {
    float: left;
    position: relative;
}

#nav ul {
    position: absolute;
    display: none;
}
/*  khi re chuot */
#nav li ul a {
    width: 8em;
    float: left;
}
/* menu cap con nam cung dong voi cha cua no khong lech */
#nav ul ul {
    top: auto;
}
/* cach 1 khoang khi re vao thang cha e so menu cap con*/
#nav li ul ul {
    left: 8em;
    margin: 0px 0 0 5px;
}
/*  de menu con an khong hien khi chua re vao cha*/

#nav li:hover ul ul, 
#nav li:hover ul ul ul,
#nav li:hover ul ul ul ul {
    display: none;

}
/*  de hien thi khi re vao thang cha*/
#nav li:hover ul,
#nav li li:hover ul,
#nav li li li:hover ul,
#nav li li li li:hover ul {
    display: block;
     
}























